
/*
* Copyright 2010, Center for Advanced Information Systems,Nanyang Technological University
*
* File name: Pair.java
*
* Abstract: used in SimVerify
*
* Current Version:      0.1
* Auther:               Jin Changjiu
* Modified Date:        Oct.16,2009
*
*/
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gblend.similarity;

import java.util.Vector;

/**
 *
 * @author cjjin
 */
public class State {

    private Vector<Integer> M1 = new Vector<Integer>();
    private Vector<Integer> M2 = new Vector<Integer>();

    private Vector<Integer> Tin1 = new Vector<Integer>();
    private Vector<Integer> Tin2 = new Vector<Integer>();

    private Vector<Integer> Tout1 = new Vector<Integer>();
    private Vector<Integer> Tout2 = new Vector<Integer>();

    private Vector<Integer> N1 = new Vector<Integer>();
    private Vector<Integer> N2 = new Vector<Integer>();
    private int edgenum = 0;

    public void setM1(int node)
    {
        M1.addElement(node);
    }

     public void setM2(int node)
    {
        M2.addElement(node);
    }

    public void setTin1(int node)
    {
        Tin1.addElement(node);
    }

    public void setTin2(int node)
    {
        Tin2.addElement(node);
    }

    public void setTout1(int node)
    {
        Tout1.addElement(node);
    }

    public void setTout2(int node)
    {
        Tout2.addElement(node);
    }

    public void setN1(int node)
    {
        N1.addElement(node);
    }

    public void setN2(int node)
    {
        N2.addElement(node);
    }

    public void addEdgeNumber()
    {
        ++edgenum;
    }

    public int getEdgeNumber()
    {
        return edgenum;
    }

    public void clearEdgeNumber()
    {
        edgenum = 0;
    }


     public Vector<Integer> getM1()
    {
        return M1;
    }

     public Vector<Integer> getM2()
    {
        return M2;
    }

    public Vector<Integer> getTin1()
    {
        return Tin1;
    }

    public Vector<Integer> getTin2()
    {
        return Tin2;
    }

    public Vector<Integer> getTout1()
    {
        return Tout1;
    }

    public Vector<Integer> getTout2()
    {
        return Tout2;
    }

    public Vector<Integer> getN1()
    {
        return N1;
    }

    public Vector<Integer> getN2()
    {
       return N2;
    }
}
